package com.pan.dao;

import com.pan.entity.Admin;

import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface AdminTableSelectDao{
    Admin selectById(Long id);
    Admin selectByName(String name);
    Admin selectByPassword(String password);
    Admin selectBySalt(String salt);
    Admin selectByGender(String gender);
    Admin selectByBirthday(Timestamp birthday);
    Admin selectByTel(Long tel);
    Admin selectByEmail(String email);
    Admin selectByRegisterDate(Timestamp registerDate);
    Admin selectByLastLoginDate(Timestamp lastLoginDate);
    Admin selectByLoginCount(Long loginCount);
    Admin selectByCreateId(Long createId);
    Admin selectByAdminStatus(Integer adminStatus);
}